Specifying JDBC Driver Connection URLs

NOTE: SequeLink Server for DB2 for z/OS does not support SSL. To use SSL encryption in a DB2 for z/OS environment, use the SequeLink Proxy Server.

If not using SSL encryption over the SequeLink Proxy Server, the connection URL format is:

jdbc:sequelink://hostname:port[;key=value]... 

If using SSL encryption over the SequeLink Proxy Server, the connection URL format is:

jdbc:sequelink:ssl://hostname:port[;key=value]... 

where:

hostname
is the TCP/IP address or TCP/IP host name of the SequeLink server to which you are connecting.
NOTE: Untrusted applets cannot open a socket to a machine other than the originating host. For more information about untrusted applets, refer to the SequeLink Administrator's Guide.
port
is the TCP/IP port on which the SequeLink server is listening. A default installation of SequeLink Server uses the port 19996.
key=value
specifies connection properties. See "JDBC Connection Properties" for a list of connection properties and their valid values.

JDBC Connection URL Examples:

The following examples show some typical JDBC driver connection URLs:

jdbc:sequelink://sequelinkhost:19996; 
jdbc:sequelink://189.23.5.25:19996;user=john;
password=whatever 
jdbc:sequelink://189.23.5.132:19996;databaseName=stores7 
jdbc:sequelink://189.23.5.68:19996;databaseName=pubs;
HUser=john;HPassword=whatever 
jdbc:sequelink://sequelinkhost:4006;
databaseName=pubs;DBUser=john;DBPassword=whatever 
jdbc:sequelink:ssl://mysecurehost:9500;
cipherSuites=SSL_DH_anon_WITH_RC4_128_MD5 
jdbc:sequelink:ssl://mysecurehost:9502;
cipherSuites=SSL_DHE_RSA_WITH_DES_CBC_SHA;
certificateChecker=CheckAgainstCertificateFromJar 

The preceding examples do not show the user and password connection properties. Typically, these properties are specified in the connection properties stored in the java.util.Properties object, which is supplied as a parameter to the getConnection method.